package com.goodving.guli.bt.model;

import android.view.accessibility.AccessibilityNodeInfo;

import java.text.DateFormat;
import java.util.Calendar;

/**
 * Created by john on 2015/11/25.
 */
public final class C3908f {
    public int f19707a;
    public final Calendar f19708b;
    public int f19709c;
    public int f19710d;

    public C3908f(int i, Calendar calendar, int i2, int i3) {
        this.f19707a = i;
        this.f19708b = calendar;
        this.f19709c = i2;
        this.f19710d = i3;
    }

    public void m25437a(int i, int i2) {
        this.f19710d = i;
        this.f19707a = i2;
    }

    public String toString() {
        StringBuilder stringBuilder = new StringBuilder(AccessibilityNodeInfo.ACTION_CLEAR_ACCESSIBILITY_FOCUS);
        stringBuilder.append("[[[ " + getClass().getSimpleName() + " ]]]");
        stringBuilder.append("\n       level: " + this.f19707a + "%");
        stringBuilder.append("\n  lastCharge: " + DateFormat.getDateTimeInstance().format(this.f19708b.getTime()));
        stringBuilder.append("\n     charges: " + this.f19709c);
        stringBuilder.append("\n      status: " + Integer.toHexString(this.f19710d));
        return stringBuilder.toString();
    }
}
